// Created by carolsail 

// 模式
export enum ENUM_GAME_MODE {
    SINGLE = 'SINGLE',
    MULTIPLE = 'MULTIPLE'
}

// 状态
export enum ENUM_GAME_STATUS {
    UNRUNING = 'UNRUNING',
    RUNING = 'RUNING'
}

// 音效
export enum ENUM_AUDIO_CLIP {
    BGM = 'bgm',
    CLICK = 'click',
    LOSE = 'lose',
    WIN = 'win',
    DICE = 'dice',
    FLY = 'fly',
    ENDPOINT = 'endpoint',
    BOMB = 'bomb'
}

// ui层
export enum ENUM_UI_TYPE {
    MENU = 'MenuLayer',
    MAIN = 'MainLayer',
    SETTING_MENU = 'SettingMenuLayer',
    SETTING_MAIN = 'SettingMainLayer',
    READY = 'ReadyLayer',
    OVER = 'OverLayer',
    MORE = 'MoreLayer',
    RANK = 'RankLayer',
    SKIN = 'SkinLayer',
    CHAT = 'ChatLayer',
    AUTH_NOTICE = 'AuthNoticeLayer',
    HALL = 'HallLayer',
    ROOM = 'RoomLayer',
    ROOM_CREATE = 'RoomCreateLayer',
    ROOM_JOIN = 'RoomJoinLayer',
    ROOM_JOIN_NUM = 'RoomJoinNumLayer',
    SHARE = 'ShareLayer',
}

// 事件
export enum ENUM_GAME_EVENT { }

// 资源
export const ENUM_RESOURCE_TYPE = ([
    { content: cc.AudioClip, path: 'audio', type: 'audio', ratio: 0.4 },
    { content: cc.Prefab, path: 'prefab', type: 'prefab', ratio: 0.2 },
    { content: cc.SpriteFrame, path: 'sprite', type: 'sprite', ratio: 0.3 },
    { content: cc.SpriteAtlas, path: 'atlas', type: 'atlas', ratio: 0.1 }
])